package com.woniuxy.lifeorder.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.life.core.api.CommonResult;
import com.woniuxy.lifeorder.service.entity.BusOrder;
import com.woniuxy.lifeorder.service.entity.BusinessGoods;
import com.woniuxy.lifeorder.service.vo.OrderVO;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author 陈瑜洲，吴继明
 * @since 2020-09-24
 */
public interface BusOrderService extends IService<BusOrder> {
    OrderVO order_query(Integer current, Integer size, BusOrder busOrder);
    CommonResult order_insert(String userId, String outUserId,Integer orderTypeId, List<BusinessGoods> goods);
}
